import request from '@/utils/request'

// 查询双师书法列表
export function listShuangshi(query) {
  return request({
    url: '/shuangshi/shuangshi/list',
    method: 'get',
    params: query
  })
}

// 查询双师书法详细
export function getShuangshi(id) {
  return request({
    url: '/shuangshi/shuangshi/' + id,
    method: 'get'
  })
}

// 新增双师书法
export function addShuangshi(data) {
  return request({
    url: '/shuangshi/shuangshi',
    method: 'post',
    data: data
  })
}

// 修改双师书法
export function updateShuangshi(data) {
  return request({
    url: '/shuangshi/shuangshi',
    method: 'put',
    data: data
  })
}

// 删除双师书法
export function delShuangshi(id) {
  return request({
    url: '/shuangshi/shuangshi/' + id,
    method: 'delete'
  })
}
